﻿{extend name="index/base" /}
{block name="main"}
<div id="divMain">
	{volist name="art" id="vo"}
	<div class="post multi-post cate2 auth1">
		<h4 class="post-date">{$vo.time|date="Y年m月d日",###}</h4>
		<h2 class="post-title"><a href="{:url('article/index',array('id'=>$vo.artid))}">{$vo.arttitle}</a></h2>
		<div class="post-body">
			<p style="text-indent: 0em;">
				{if condition="$vo.pic neq ''"}
				<a href="{:url('article/index',array('id'=>$vo.artid))}" target="_blank">
					<img src="__PUBLIC__{$vo.pic}" title="" alt=""/>
				</a>
				{else/}
				{$vo.desc}
				{/if}
			</p>
		</div>
		<h5 class="post-tags">Tags:
            <span class="tags">
                {php}$ts = explode(',',$vo['tag']);{/php}
                {volist name="ts" id="v"}
                      <a href="{:url('cata/tags',array('tag'=>$v))}">{$v}</a>&nbsp;&nbsp;
                {/volist}
            </span>
        </h5>
		<h6 class="post-footer">
			发布:{$vo.author} | 分类:{$vo.cataname} | 评论:{$vo.commentid} | 浏览:<span id="spn80">{$vo.click}</span>
			| <a href="{:url('article/index',array('id'=>$vo.artid))}">阅读全文 > </a>
		</h6>
	</div>
	{/volist}
	<div class="post pagebar">
		{$art->render()}</div>
</div>
{/block}
{block name="right"}
{include file='index/rightbar'}
{/block}
{block name="js"}
<style type="text/css">
	ul.pagination li {
		float: left;
		padding: 5px;
		margin: 0 2px;
		border: 1px solid #ccc;
	}
</style>
{/block}